<template>
  <div style="border: 1px solid red; padding: 25px">子组件B
    <div>
      <Ccom v-bind="$attrs" v-on="$listeners" />
    </div>
  </div>
</template>

<script>
import Ccom from './C.vue'
export default {
  name: 'B',
  components: { Ccom },
  props: ['b'],
  data() {
    return {

    }
  },
  created() {
    console.log('在子组件', this.b)
  }
}
</script>

<style>

</style>
